*{
    margin:0;
    padding:0;
}

html,body{
    background: #fff;
    width:100%;
    height:100%;
    font-size: 62.5%;
    max-width: 750px;
    margin: 0 auto;
}
a{
    text-decoration: none;
    color:#333;
}
.clear:after{
    display:block;
    clear:both;
    content:"";
    visibility:hidden;
    height:0;
}
.m20{
    margin-top: 20px;
}
/*nav*/
nav{
    max-width: 750px;
    width: 100%;
    background:#fff;
    line-height:42px;
    padding: 4px 12px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 999;
}
nav:before{
    content: "";
    width: 100%;
    height:2px;
    background-image: url("../images/border@2x.png");
    background-size: 100%;
    position: absolute;
    bottom:-2px;
    left: 0;
}
.logo{
    float: left;
}
.logo img{
    width: 26px;
    vertical-align: middle;
}

.navTitle{
    float: left;
    width: 200px;
    position: absolute;
    left: 50%;
    top:8px;
    margin-left: -100px;
    text-align: center;
    color: #864747;
}
.navTitle img{
    width:90px;
}
.navSearch{
    float: right;
}
.navSearch img{
    width:26px;
    vertical-align: middle;
}

.main-container{
    font-size: 1.4rem;
    padding-top: 52px;
}
/*首页轮播*/
.swiper-container {
    width: 100%;
    background: rgba(220, 218, 218, 0.33);
    text-align: center;
}
.swiper-slide p.title{
    font-size: 1.8rem;
}
.swiper-slide .buy-button{
    width:50%;
    height:30px;
    line-height: 30px;
    background: red;
    display: inline-block;
    color: #fff;
    padding: 10px;
    font-size: 1.8rem;
}
.pagination {
    position: absolute;
    left: 0;
    text-align: center;
    bottom:18px;
    width: 100%;
    margin:0;
}
.swiper-pagination-switch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #999;
    box-shadow: 0px 1px 2px #555 inset;
    margin: 0 3px;
    cursor: pointer;
}
.swiper-active-switch {
    background: #fff;
}

.part2 img,.part3 img,.part4 img{
    display: block;
}
.part-footer{
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}
.part-footer .buy-button{
    font-size: 18px;
    background: #ff474f;
    color: #fff;
    display: inline-block;
    padding:10px 70px;
    border-radius: 30px;
}
.part-footer .s-phone{
    font-size: 18px;
    margin-top: 20px;
}
.part-footer .s-time{
    font-size: 14px;
    margin-top: 4px;
    color: #b3b3b3;
}

/*products*/
.products-wrap{
    background: rgba(220, 218, 218, 0.33);
    padding:20px;
}
.products-wrap .item{
    background: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-bottom: 20px;
}

.products-wrap .item>img{
    width:50%;
}
.products-wrap .item .item-title{
    font-size: 18px;

}
.products-wrap .item .item-info{
    font-size: 14px;
    color:#8a8a8a;
    margin-top: 20px;

}
.products-wrap .item .item-price{
    margin-top: 20px;
}
.products-wrap .item .item-price .now-price{
    font-size: 22px;
    color:#5975af;
}
.products-wrap .item .item-price .old-price{
    font-size: 14px;
    color: #909090;
    text-decoration: line-through;
}
.products-wrap .item .buy-button{
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    color: #5975af;
    border: 1px solid #5975af;
    padding: 2px 26px;
    border-radius: 6px;

}
.products-wrap .item .coupon{
    width:42px;
    height:50px;
    position: absolute;
    left:00px;
    top: 0;
    background-image: url("../images/xianshi.png");
    background-size: cover;
    color: #fff;
}
.products-wrap .item .coupon .symbol{
    font-size: 12px;
}
.products-wrap .item .coupon .amount{
    font-size: 16px;
}

/*buy product*/
.fn-left{
    float: left;
}
.fn-right{
    float: right;
}
.buy-wrap{
    background: #f1f3f2;
}
.buy-wrap .pack-wrap{
    background: #fff;
    padding:16px 10px 0px 10px;
    margin-bottom: 10px;
}
.buy-wrap .line{
    width:100%;
    height: 1px;
    background: lightgrey;
    margin-top: 10px;
}


.buy-wrap .intro-wrap{
    text-align: center;
}
.buy-wrap .intro-wrap .item-title{
    font-size: 18px;

}
.buy-wrap .intro-wrap .item-info{
    font-size: 14px;
    color:#8a8a8a;
    margin-top: 20px;

}
.buy-wrap .intro-wrap .item-price{
    margin-top: 20px;
}
.buy-wrap .intro-wrap .item-price .now-price{
    font-size: 22px;
    color:#5975af;
}
.buy-wrap .intro-wrap .item-price .old-price{
    font-size: 14px;
    color: #909090;
    text-decoration: line-through;
}

.number-wrap{
    padding:16px 0;
}
.number-wrap .count-box{
    position: relative;
    width: 110px;
    height: 30px;
    border: 1px solid #d4dadd;
    border-radius: 4px;
    vertical-align: middle;
}
.number-wrap .count-name{
    font-size: 16px;
    margin-top: 3px;
}
.number-wrap .count-box .count-num{
    position: absolute;
    left: 30px;
    width: 50px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #666666;
    border: none;
    outline: none;
}
.number-wrap .count-box .count-btn{
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    z-index: 11;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    text-align: center;
    color: #708595;
    background-color: #f7f7f7;
}
.number-wrap .count-box .count-reduce {
    left: 0;
    border-right: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.number-wrap .count-box .count-increase {
    right: 0;
    border-left: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.rec-box{
    padding:10px 0;
    border-bottom: 1px solid #d4dadd;
}
.rec-box label{
    font-size: 15px;
}
.rec-box input{
    font-size: 15px;
    width:70%;
    word-break:break-all;
    border:none;
}
input:focus{outline:none;}
.rec-method{
    border: none;
}
.rec-box .rec-bill .arrow{
    font-size: 18px;
    color:#8a8a8a;
}

.submit-wrap{
    position: fixed;
    bottom: 0;
    background: #fff;
    width:100%;
    display: flex;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 0 10px -3px grey;
    max-width: 750px;
}
.submit-wrap .total-amount{
    flex: 2;
    color:#f55351;
    font-size: 16px;
    line-height: 46px;
}
.submit-wrap .order-btn{
    flex: 1;
}
.submit-wrap .order-btn button{
    width: 100%;
    background: #f55351;
    padding:14px 0;
    color:#fff;
    font-size: 16px;
    border: none;
}
.submit-wrap .order-btn button.dis-btn{
    background: grey;

}
 button:focus{
    outline: none;
}

/*发票选择*/
.layer-wrap{
    position: fixed;
    left: 0;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,.8);
    z-index: 99;
    display: none;
}
.layer-wrap .bill-box{
    width:100%;
    position: absolute;
    bottom: 0;
    background: #fff;
}
.layer-wrap .bill-box .close-btn{
    position: absolute;
    right:10px;
    top:10px;
    font-size: 18px;
}
.layer-wrap .bill-box h3{
    font-size: 14px;
    text-align: center;
    font-weight: 200;
    margin-top: 10px;
}
.layer-wrap .bill-box ul{
    width: 50%;
    margin:10px auto;
    list-style: none;
}
.layer-wrap .bill-box ul li{
    float: left;
    width:46%;
    text-align: center;
    border:1px solid #a6a6a6;
    box-sizing: border-box;
    padding:4px;
    color: #a6a6a6;
}
.layer-wrap .bill-box ul li.active{
    border:1px solid #f55351;
    color: #f55351;
}
.layer-wrap .bill-box ul li:last-child{
    float: right;
}
.layer-wrap .bill-box .bill-intro{
   min-height: 150px;
    margin-top: 18px;
    padding:0 10px;
}

.layer-wrap .bill-box .bill-intro h4{
    margin-bottom: 10px;
}
.layer-wrap .bill-box .bill-intro .company-box input{
    width: 100%;
    border: 1px solid #a6a6a6;
    padding:6px;
    box-sizing: border-box;
    background: #e9e9e9;
    border-radius: 4px;
    margin-top: 10px;
}

.layer-wrap .bill-box .bill-btn button{
    background: #f55351;
    width:100%;
    border: none;
    color:#fff;
    padding:10px 0;
    font-size: 16px;
}
.layer-wrap .bill-box .bill-btn button.disabled-btn{
    background: rgba(245, 83, 81, 0.77);
}

/*pay page*/

.pay-wrap .item{
    padding:10px 6px;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    margin-top: 6px;
    background: #fff;
}
.pay-wrap .item img{
    vertical-align: middle;
}

.pay-wrap .pay-btn-wrap{
    background: #fff;
    padding:10px;
    position: fixed;
    bottom:0;
    width: 100%;
    box-sizing: border-box;
}

.pay-wrap .pay-btn-wrap button{
    background: #3c8dbc;
    padding:10px;
    width: 100%;
    border: none;
    color:#fff;
    border-radius: 4px;

}
.pay-wrap .pay-btn-wrap button.dis-btn{
    background: grey;

}
.pay-wrap .pay-btn-wrap button:active{
    background: #2a81ea;
}

/*details*/
.detail-wrap .part2,.detail-wrap .part3{
    padding:0 20px;
    margin-top: 24px;
}
.detail-wrap .part3{
    margin-top: 38px;
}

.detail-wrap .part1 img,
.detail-wrap .part2 img,
.detail-wrap .part3 img{
    width: 100%;
}
/*about*/
.about-wrap .part2,.about-wrap .part3,.about-wrap .part4,.about-wrap .part5{
    padding:0 20px;
    margin-top: 24px;
}
.about-wrap .part3,.about-wrap .part4{
    margin-top: 40px;
}
.about-wrap .part5{
    padding-bottom: 50px;
}
.about-wrap .part2 img{
    margin: 0 auto;
}
.about-wrap img{
    width: 100%;
}
.about-wrap .part2 img{
    width: 40%;
}